home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / hardware-part1 / 717 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 KB

  1. Path: enea.se!not-for-mail
  2. From: olli@enea.se (Ola Liljedahl)
  3. Newsgroups: comp.sys.amiga.hardware
  4. Subject: Re: A1200 serial port speeds?
  5. Date: 9 Jan 1996 23:49:45 +0100
  6. Organization: Enea OSE Systems AB
  7. Message-ID: <4cure9$itg@gordon.enea.se>
  8. NNTP-Posting-Host: gordon.enea.se
  9.  
  10. "KRistian L. Madsen" wrote:
  11.  
  12. > "Antti J. Roppola" <ajr@henric.nric.gov.au> wrote:
  13. > >Now I know that a stock 1200 can't keep up with a 28.8 modem since the '020
  14. > >isn't fast enough, but how about a 1200 with a 50MHz '030?
  15. > >Will a 28.8 modem run at full capacity, or would the serial port become the
  16. > >bottleneck instead of the CPU?
  17. > Well, if the CPU is a bottleneck with a 28.8 modem, your CPU is
  18. > running :
  19. > (28.8Kbit/s) / (32 bit) = 900 Hz or 0,0009 MHz 
  20. > My CPU is running 14,7 MHz (or something like it) and can move :
  21. > 14,7 * 1.000.000 MOVE-instructions/s * 32bit = 470.400.000 Bit/s or
  22. > 470.400Kbit/s !!!!!
  23. > The above calculations don't consider bus-speed and memory speed.
  24. > When you're taking I/O the CPU is never the bottleneck, when you're
  25. > talking communication the CPU  is NEVER NEVER NEVER the bottleneck!!!!
  26.  
  27. What crap!
  28.  
  29. With (a 28800 baud modem and) a 28800 baud connection between the modem
  30. and the computer you could have up to ~3000 characters/s arriving to
  31. the computer (disregarding any compression/decompression the modem might
  32. perform). The standard Amiga serial port buffers only one character which
  33. means you get only one character per interrupt. 3000 characters/s means
  34. 3000 interrupts/s => 333 us (microseconds) per interrupt. This has two
  35. implications;
  36. 1: the CPU must serve each serial port interrupt within 333 us or the
  37.    received character is lost (overrun by the next character).
  38. 2: with 3000 interrupts/s the CPU left over to other tasks is dramatically
  39.    reduced. There is a certain overhead associated with each interrupt.
  40.  
  41. Anybody knows the interrupt latency of the Amiga (different CPUs/OS
  42. versions)? And the interrupt overhead for different types of interrupt?
  43.  
  44. My A3000/68030/25 MHz/OS 3.1/serial.port 37.6 happily receives ~4500
  45. characters/s using 38400 baud from computer to modem (decompression
  46. in the modem expands the 26400 bauds entering the modem into 38400 baud
  47. leaving it if it is possible to (compress/)decompress the data, such as
  48. text/html-files. Already compressed files are usually not possible to
  49. compress further.)
  50.  
  51.     Ola Liljedahl
  52.     working with OSE Real Time Operating Systems
  53.     "OSE - Design on a higher level"
  54.